package com.zhongwang.business.module.system.log;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhongwang.business.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 *  日志 model
 *
 * @author China.sgl
 * @date 2019/11/28 13:48
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LogModel extends BaseModel {

    private Integer id;

    /** 帐户 */
    private String account;

    /** IP地址 */
    private String address;

    /** 名称 */
    private String name;

    /** 操作名 */
    private String operationName;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date operationTime;

    /** 操作内容 */
    private String operationContent;
}
